package com.xo.user.xouser;

import com.mysql.cj.MessageBuilder;
import jakarta.annotation.Resource;
import org.apache.rocketmq.spring.core.RocketMQTemplate;
import org.junit.jupiter.api.Test;
import org.redisson.api.RBucket;
import org.redisson.api.RedissonClient;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.messaging.core.MessagePostProcessor;


@SpringBootTest
class XoUserApplicationTestsEntity {

    @Resource
    private RedissonClient redissonClient;

    @Test
    void contextLoads() {
        RBucket<Object> demo = redissonClient.getBucket("demo");
        demo.set("hello redisson");
        Object o = demo.get();
        System.out.println("o = " + o);
    }

}
